package com.shopcentre15.shopcentre.FormalShopExplot.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@Controller
public class HomeController {
    @GetMapping("/main")
    public String showHomePage(){
        return "main";
    }
}
